package cn.yx.permission.mapping;

import cn.yx.common.core.mapping.DtoDoMapping;
import cn.yx.common.core.mapping.DtoVoMapping;
import cn.yx.permission.dos.PermissionDo;
import cn.yx.permission.dto.PermissionDto;
import cn.yx.permission.vo.in.PermissionInVo;
import cn.yx.permission.vo.out.PermissionOutVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * <p>Permission对象映射类</p>
 *
 * @author Wgssmart
 */
@Mapper
public interface PermissionMapping extends DtoDoMapping<PermissionDo, PermissionDto>,
        DtoVoMapping<PermissionDto, PermissionInVo, PermissionOutVo> {

    PermissionMapping INSTANCE = Mappers.getMapper(PermissionMapping.class);

}
